package com.yami.shop.mp.config.bean;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author Binary Wang(https://github.com/binarywang)
 */
@Data
@Component
@PropertySource("classpath:cp.properties")
@ConfigurationProperties(prefix = "cp")
public class WxCp {
  /**
   * 设置企业微信的corpId
   */
  private String corpId;

  /**
   * 设置企业微信应用的AgentId
   */
  private Integer agentId;

  /**
   * 设置企业微信应用的Secret
   */
  private String secret;

  /**
   * 设置企业微信应用的token
   */
  private String token;

  /**
   * 设置企业微信应用的EncodingAESKey
   */
  private String aesKey;

}
